<template>
    <div>
        <web :src="getSrc()" class="content"></web>
        <AppHeader :title="headerTitle" :showBack=true></AppHeader>
    </div>
</template>
<style scoped>
    .content{
         width:750px;
        height: 1200px;
    }

</style>
<script>
    import AppHeader from '../../components/AppHeader.vue'
    import mixins from '../../mixins'

    export default {
        mixins:[mixins],
        components: { AppHeader },
        data () {
            return {
                headerTitle:"学习微课"
            }
        },
        methods:{
             getSrc:function(){
                var videoId = this.$route.params["id"];

                return this.apiDomain+"/video/detail/"+videoId;
            }
        }
    }

</script>


